package net.web.dto;

import net.melon.article.pojo.Article;
import net.melon.page.pojo.ModuleLink;


public class ParamArticle {
	
	private String id;
	
	private String url;
	
	private int order;
	
	private Article article;
	
	public ParamArticle() {
		
	}
	
	public ParamArticle(ModuleLink link, Article article) {
		this.id = String.valueOf(link.getId());
		this.url = link.getUrl();
		this.order = link.getOrder();
		this.article = article;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public int getOrder() {
		return order;
	}

	public void setOrder(int order) {
		this.order = order;
	}

	public Article getArticle() {
		return article;
	}

	public void setArticle(Article article) {
		this.article = article;
	}
}
